package com.albaba.springalibabasentinel8085.exception;

import com.alibaba.csp.sentinel.slots.block.BlockException;

/**
 * @Description: 自定义异常处理(限流处理逻辑)
 * @Author zx
 * @Date 2024/11/22 11:08
 * @Version 1.0
 */
public class CustomerBlockHandle {

    public static String handlerException1(BlockException e) {
        return "handlerException1：系统异常，请稍后重试";
    }

    public static String handlerException2(BlockException e) {
        return "handlerException2：网络崩溃了,请稍后重试";
    }




}
